<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="libs/jquery/1.11.1/jquery.min.js"></script>
</head>
<body>
<div style="display: inline-block; height: 800px;background-color: whitesmoke">
    <div>你好</div>
    <button onclick="removeTab()">关闭</button>
</div>
<script>
    /** portal api support */
    eval('!function(t,e,a,n){var s=t.parent,r=e.getElementsByTagName("head")[0],i=t.attachEvent;if(t!==s&&s===t.top&&\
    !t[a]){t[a]=!0;var c=function(t){if(t.source===s&&"string"==typeof t.data){var a=t.data.match(n);if(null!=a){var i=\
    e.createElement("script");i.setAttribute("src",a[1]),r.appendChild(i)}}};i?i("onmessage",c):t.addEventListener(\
    "message",c),s.postMessage(a,"*")}}(window,document,"REQUEST:PORTAL_API",/^RESPONSE:PORTAL_API=(https?:\\/\\/.*)$/)');
</script>
</body>
</html>